home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Tech Arsenal 1
/
Tech Arsenal (Arsenal Computer).ISO
/
tek-01
/
flilib.zip
/
FLISRC.ZIP
/
ZEROWORD.ASM
< prev
Wrap
Assembly Source File
|
1989-11-11
|
572b
|
38 lines
_TEXT SEGMENT BYTE PUBLIC 'CODE'
_TEXT ENDS
_DATA SEGMENT WORD PUBLIC 'DATA'
_DATA ENDS
CONST SEGMENT WORD PUBLIC 'CONST'
CONST ENDS
_BSS SEGMENT WORD PUBLIC 'BSS'
_BSS ENDS
DGROUP GROUP CONST, _BSS, _DATA
ASSUME CS: _TEXT, DS: DGROUP, SS: DGROUP, ES: DGROUP
_TEXT SEGMENT
;i86_wzero(soffset, ssegment, words)
PUBLIC _i86_wzero
_i86_wzero PROC far
push bp
mov bp,sp
push es
push di
push cx
les di,[bp+6]
mov cx,[bp+10]
xor ax,ax
rep stosw
pop cx
pop di
pop es
pop bp
ret
_i86_wzero ENDP
_TEXT ENDS
END